<?php
include_once('../classes/connector.php');
new connectorok(); 
mysql_query("delete from fotogalery where src='$_POST[imgdel]' ") or die(mysql_error());
?>